<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead"><em>溢价价格设置</em>请按照实际情况设置溢价价格</div>
        <ul class="nav nav-tabs">
            <li class="active"><a href="#one" data-toggle="tab">帮我取/帮我送</a></li>
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <form id="one-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

                        <div class="form-group">

                            <div class="col-xs-12 col-sm-8">
                                <table class="table table-responsive fieldlist" data-name="general" data-template="generaltpl" data-tag="tr">
                                    <tr>
                                        <td style="width: 116px;" >溢价金额</td>
                                        <td style="width: 206px;">溢价原因</td>

                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3"><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 追加</a></td>
                                    </tr>
                                    <textarea name="general" class="form-control hide" cols="30" rows="5">{$general}</textarea>
                                </table>
                                <!--定义模板-->
                                <script type="text/html" id="generaltpl">
                                    <tr class="form-inline">
                                        <td><input type="number" style="width: 100px;" name="row[<%=name%>][<%=index%>][money]" class="form-control" value="<%=row['money']%>" size="10"></td>
                                        <td><input type="text" style="width: 200px;" name="row[<%=name%>][<%=index%>][note]" class="form-control" value="<%=row['note']%>" size="10"></td>
                                        <td><span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span></td>
                                    </tr>
                                </script>
                            </div>
                        </div>

                        <div class="form-group layer-footer">
                            <label class="control-label col-xs-12 col-sm-2"></label>
                            <div class="col-xs-12 col-sm-8">
                                <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                            </div>
                        </div>
                    </form>

                </div>
            </div>

        </div>
    </div>
</div>
